<link href="assets/link/bootstrap-datetimepicker.min.css" rel="stylesheet">
<script src="js/proinfo/compact/projCompactInfoBacklog.js"></script>
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        基本信息
                    </header>
                    <div class="panel-body">
                        <div class="bio-row">
                            <p>
                                <span>项目编号</span>{{projInfo.proNo}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>项目区域</span>{{projInfo.proArea}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>项目类型</span>{{projInfo.proType}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>客户名称</span>{{projInfo.cusName}}
                            </p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>项目名称</span>{{projInfo.proName}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>优先级 </span>{{getProjLv(projInfo.proLv)}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>目前状态 </span>{{getState(projInfo.proState)}}</p>
                        </div>

                    </div>

                </section>
                <section class="panel">
                    <header class="panel-heading">
                        合同信息
                    </header>
                    <div class="panel-body">
                        <div class="bio-row">
                            <p>
                                <span>公司名称</span>{{contractInfo.compCode}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>合同编号</span>{{contractInfo.contractNo}}</p>
                        </div>
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>销售内部编号</span>{{contractInfo.salesInternalCode}}-->
<!--                            </p>-->
<!--                        </div>-->
                        <!-- <div class="bio-row">
                            <p>
                                <span>财务编号</span>{{contractInfo.financialCode}}
                            </p>
                        </div> -->
                        <div class="bio-row">
                            <p>
                                <span>合同名称</span>{{contractInfo.contractName}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>签订人</span>{{contractInfo.contractSigner}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>客户名称</span>{{contractInfo.compactCusName}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>合同金额</span>￥{{contractInfo.contractAmount}}元</p>
                        </div>
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>非软件收入金额</span>￥{{contractInfo.notSoftIncome}}元</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>软件收入金额</span>￥{{contractInfo.softIncome}}元</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>交付时间</span>{{contractInfo.deliveryTime}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>我司签约公司</span>{{contractInfo.contractSubject}}</p>-->
<!--                        </div>-->

<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>交付地</span>{{contractInfo.deliveryTo}}</p>-->
<!--                        </div>-->

<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>首付款</span>{{contractInfo.initialPayment}}%</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>首付款日期</span>{{contractInfo.initialPaymentDate | date:'yyyy-MM-dd'}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>初验</span>{{contractInfo.preliminaryInspection}}%</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>初验日期</span>{{contractInfo.preliminaryInspectionDate | date:'yyyy-MM-dd'}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>终验</span>{{contractInfo.finalAcceptance}}%</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>终验日期</span>{{contractInfo.finalAcceptanceDate | date:'yyyy-MM-dd'}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>尾款</span>{{contractInfo.finalPayment}}%</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>尾款日期</span>{{contractInfo.finalPaymentDate | date:'yyyy-MM-dd'}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>合同份数</span>{{contractInfo.contractNumber}}份</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>合同签订时间</span>{{contractInfo.contractSignTime | date:'yyyy-MM-dd'}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row">-->
<!--                            <p>-->
<!--                                <span>最终结算日期</span>{{contractInfo.finalDate}}</p>-->
<!--                        </div>-->
<!--                        <div class="bio-row line-row">-->
<!--                            <p>合同关键条款</p>-->
<!--                            <p>{{contractInfo.keyTerms}}</p>-->
<!--                        </div>-->
                        <div class="bio-row line-row">
                            <p>申请说明</p>
                            <p>{{contractInfo.applyInstruction}}</p>
                        </div>

                    </div>

                </section>
                <section class="panel">
                    <header class="panel-heading">
                        审批意见
                    </header>
                    <div class="panel-body">
                        <div class="form-group customerForm">

                            <textarea certus-an-limit-length="120" class="form-control"
                                      ng-model="contractInfo.opinionMsg"></textarea>

                        </div>

                    </div>
                </section>

                <section class="panel">
                    <div class="panel-body">
                        <p class="default-buttons">
                            <a href="javascript:void(0);" class="button-back btn btn-info"
                               onclick="window.history.back()">返回</a>
                            <a href="javascript:void(0);" class="button-back btn btn-warning btn-l10"
                               ng-click="contractInfoVeto()">退回</a>
                            <a href="javascript:void(0);" class="button-next  btn btn-success btn-l10"
                               ng-click="contractInfoPromise()">同意</a>
                            <a href="javascript:void(0);" class="button-next  btn btn-danger"
                               ng-click="contractInfoDenied()">不同意</a>
                        </p>
                    </div>
                </section>
            </div>
        </div>
    </section>
</section>